package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.FocusUser;
import com.tanhua.model.mongo.Video;
import com.tanhua.model.vo.PageResult;

import java.util.List;

/**
 * @author SunSun
 * @date 2021/11/1
 */
public interface VideoApi {
    String save(Video video);

    List<Video> findVideos(List<Long> vids);

    List<Video> queryVideosList(int i, Integer pagesize);

    void saveFocusUser(FocusUser focusUser);

    void deleteFollowUser(Long userId, Long followUserId);

    PageResult finByUserId(Integer page, Integer pagesize, Long uid);
}
